import request from "../utils/request";

export function getHolidayList(param) {
  return request({
    url: '/bjgl/holiday/getHolidayList',
    method: 'get',
    params: param
  })
}

export function toAgree(param) {
  return request({
    url: '/bjgl/holiday/isAgree',
    method: 'post',
    data: param
  })
}

export function delHolidayApply(param) {
  return request({
    url: '/bjgl/holiday/delHolidyApply',
    method: 'post',
    data: param
  })
}

export function getChartData(param) {
  return request({
    url: '/bjgl/holiday/getHolidayChartData',
    method: 'get',
    params: param
  })
}
